<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>错误</title>
</head>
<body>
<h1>错误</h1>
<!--移除标签以文本形式显示-->
<div>
    <div th:utext="'&lt;!--'" th:remove="tag"></div>

    <div th:utext="'Failed Request URL : ' + ${url}" th:remove="tag"></div>

    <div th:utext="'Exception message : ' + ${exception.message}" th:remove="tag"></div>

    <url th:remove="tag">
        <li th:each="st : ${exception.stackTrace}" th:remove="tag">
            <span th:utext="${st}" th:remove="tag"></span>
        </li>
    </url>

    <div th:utext="'--&gt;'" th:remove="tag">
    </div>

</div>
</body>
</html>